<!--
  Generated template for the NativePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>native</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>

    <ion-slides style="height:25vh" *ngIf="images.length>'0'">
      <ion-slide *ngFor="let image of images">
        <ion-card>
          <img [src]="image.src" alt=""  />
        </ion-card>
      </ion-slide>
    </ion-slides>
  <button ion-button round icon-only ios-camera block (click)="takePhoto()">
    <ion-icon name="camera" color="secondary"></ion-icon>
  </button>
  <button ion-button round  ios-camera block (click)="clearPhote()">
    清除图片
  </button>
  <button ion-button round  block (click)="saoyisao()">
    扫一扫
  </button>

</ion-content>